<!DOCTYPE html>
<HTML>
<HEAD><meta name="viewport" content="width=device-width, initial-scale=1">
<Title>DrawArea.cylinder</Title>
<link type='text/css' rel='Stylesheet' href="maxchartapi.css" />
</HEAD>
<body bgcolor="#FFFFFF" text="#000000" topmargin="0" leftmargin="0" rightmargin="0" marginwidth="0" marginheight="0">

<p class="heading0">ChartDirector 7.0 (Java Edition)</p>
<p class="heading1"><a href="DrawArea.htm">DrawArea</a>.<wbr>cylinder</p>
<hr class="separator">
<p class="heading2a">Usage</p>
<div class="content">
public void cylinder(int cx, int cy, int rx, int ry, double a1, double a2, int depthX, int depthY, int edgeColor, int fillColor)
</div>
<p class="heading2">Description</p>
<div class="content">
Draws a cylinder surface as the area spanned by moving an arc.
</div>
<p class="heading2">Arguments</p>
<div class="content">
<div style="width:100%;box-sizing:border-box;">
<table border="1" cellpadding="5" cellspacing="0" width="100%"> 
<tr>
<th width="19%">Argument</th><th width="19%">Default</th><th>Description</th>
</tr>
<tr>
<td>cx</td><td>(Mandatory)</td><td>The x coordinate of the center of the circle or ellipse for the arc.</td></tr><tr><td>cy</td><td>(Mandatory)</td><td>The y coordinate of the center of the circle or ellipse for the arc.</td></tr><tr><td>rx</td><td>(Mandatory)</td><td>The horizontal radius of the circle or ellipse.</td></tr><tr><td>ry</td><td>(Mandatory)</td><td>The vertical radius of the circle or ellipse.</td></tr><tr><td>a1</td><td>(Mandatory)</td><td>The start angle of the arc. The angle is measured clockwise, with 0 degree being the upward pointing direction.</td></tr><tr><td>a2</td><td>(Mandatory)</td><td>The end angle of the arc. The angle is measured clockwise, with 0 degree being the upward pointing direction.</td></tr><tr><td>depthX</td><td>(Mandatory)</td><td>The x displacement representing the motion of the arc to span the cylinder.</td></tr><tr><td>depthY</td><td>(Mandatory)</td><td>The y displacement representing the motion of the arc to span the cylinder.</td></tr><tr><td>edgeColor</td><td>(Mandatory)</td><td>The border color. To disable border, set the edgeColor the same as the fillColor.</td></tr><tr><td>fillColor</td><td>(Mandatory)</td><td>The fill color. To disable filling, set the fillColor to Transparent.</td>
</tr>
</table>
</div>
</div>
<p class="heading2">Return Value</p>
<div class="content">
None
</div>
<br><hr class="separator">
<div class="copyright">&copy; 2022 Advanced Software Engineering Limited. All rights reserved.</div>
</body>
</HTML>
